package com.wj.facedetect.net;

/**
 * 服务器地址集合
 * Created by wujing on 2017/5/30.
 */

public class ReqUrls {
    //public static final String BASE_URL_DOMAIN = "http://2061n52j86.imwork.net:15611";
    public static final String BASE_URL_DOMAIN = "http://10.64.203.138:11180";
    //public static final String GW_BASE_URL_DOMAIN = "http://2061n52j86.imwork.net:30725";
    public static final String GW_BASE_URL_DOMAIN = "http://10.64.203.238:11181";
    public static final String GW_BASE_URL_APP = "http://10.64.203.238:11181/app";
    //public static final String GW_BASE_URL_APP = "http://2061n52j86.imwork.net:30725/app";
    public static final String BASE_URL_PUSH_IM = "http://10.64.203.238:11181/im";
    //public static final String BASE_URL_PUSH_IM = "http://2061n52j86.imwork.net:30725/im";
    public static final String CLUSTER_ID = "ShengTing";
    //public static final String CLUSTER_ID = "DEFAULT";

    /**
     * 登录
     */
    public static final String URL_LOGIN = "/business/api/login";
    /**
     * 创建图片库
     */
    public static final String URL_CREATE_KU = "/business/api/repository";
    /**
     * 上传图片入库
     */
    public static final String URL_INTO_KU = "/face/v1/framework/face_image/repository/picture/synchronized/global";
    /**
     * 添加N比N任务
     */
    public static final String URL_ADD_N_TO_N = "/face/v1/framework/face_image/cross_retrieval/global";
    public static final String URL_ADD_N_TO_N_2 = "/face/v1/framework/face_image/cross_retrieval/global";
    /**
     * 开始任务
     */
    public static final String URL_STARTN_TO_N = "/face/v1/framework/face_image/cross_retrieval/global";
    /**
     * 获取N比N检测结果
     */
    public static final String URL_GET_N_TO_N = "/face/v1/framework/face/hit/global";
    /**
     * 检测N比N任务进度
     */
    public static final String URL_CHECK_N_TO_N = "/face/v1/framework/face_image/cross_retrieval/global";
    /**
     * 获取图片
     */
    public static final String URL_GET_PHOTO = "/storage/v1/image?uri_base64=";
    /**
     * 获取图片
     */
    public static final String URL_GET_PHOTO2 = "/storage/v1/image/global?cluster_id=%s&uri_base64=%s";
    /**
     * 获取历史采集数据
     */
    public static final String URL_HISTORY_FACE = "/face/v1/framework/face/query/global";
    /**
     * 获取所有的库
     */
    public static final String URL_GET_ALL_KU = "/face/v1/framework/face_image/repository/global?cluster_id=%s";

    /**
     * 识别人脸
     */
    public static final String URL_DETECTION = "/face/v1/framework/face/face_image/detection";
    /**
     * 1比N
     */
    public static final String URL_REFACTOR = "/website/face/v2/retrieval/proxy/refactor";
    /**
     * 人证核验-识别人脸
     */
    public static final String URL_FACE_CARD_DETECTION = "/face/v1/framework/face_image/repository/picture/extract";
    /**
     * 认证核验-比对
     */
    public static final String URL_FACE_CARD_VERIFY = "/face/v1/framework/face/verify";
    /**
     * 删除临时采集库
     */
    public static final String URL_DELETE_KU = "/face/v1/framework/face_image/repository/global?id=%s&cluster_id=%s";
    /**
     * 获取人员列表
     */
    public static final String URL_GET_USERS = "/api/v1/user/getUsers";
    /**
     * 获取报警详情
     */
    public static String URL_GET_ALARM_DETAIL = "/api/v1/warning/getWarnings?warnId=%s&userId=%s";
    /**
     * 获取报警列表
     */
    public static String URL_GET_ALARM_LIST = "/api/v1/warning/getWarningList?pageNo=%s&pageSize=%s";
    /**
     * 指派任务
     */
    public static String URL_POST_TASK_ASSIGN = "/api/v1/task/assign";
    /**
     * 接任务
     */
    public static String URL_POST_TASK_RECEIVE = "/api/v1/task/receive";
    /**
     * 拒接任务
     */
    public static String URL_POST_TASK_REFUSE = "/api/v1/task/refuse";
    /**
     * 我的任务
     */
    public static String URL_POST_TASK_MYTASK = "/api/v1/task/myTask";
    /**
     * 处理任务
     */
    public static String URL_POST_TASK_DEAL = "/api/v1/task/processing";
    /**
     * 处理结果详情
     */
    public static String URL_GET_DEAL_TASK_DETAIL = "/api/v1/task/taskDetail";
    /**
     * 根据name查询userId
     */
    public static String URL_GET_USER_ID_BY_NAME = "/api/v1/user/getUserId?userName=%s";
    /**PUSH IM 相关接口*/
    /**
     * 发送群组消息
     */
    public static String URL_SENDGROUPMSG = "/api/v1/sentGroupMsg";
    /**
     * 查询群组消息
     */
    public static String URL_GETGROUPMSGS = "/api/v1/getGroupMsgs";
    /**
     * 查询群信息
     */
    public static String URL_GETGROUPS = "/api/v1/getGroups";
    /**
     * 获取未读消息
     */
    public static String URL_GET_NOTIFYS = "/api/v1/getNotifys";
    /**
     * 读取群组消息（将未读变为已读）
     */
    public static String URL_READ_NOTIFYS = "/api/v1/readNotifys?to=%s&from=%s&isGroup=%s";
    /**
     * IM发送文件
     */
    public static String URL_FILEUPLOAD = "/api/v1/surveillance/fileUpload";
    /**
     * IM下载文件
     */
    public static String URL_DOWNLOAD_FILE = "/yitu_file/im/%s";
    /**
     * 添加群人员
     */
    public static String URL_ADD_TASK_MEMBER = "/api/v1/task/addTaskUser";
    /**
     * 获取群组人员
     */
    public static String URL_GET_GROUP_MEMBERS = "/api/v1/getGroupUsers";
    /**
     * 轮询最新消息
     */
    public static String URL_POST_POLLING_MESSAGE = "/api/v1/task/getRecord?userId=%s";
    /**
     * 获取最新IM消息
     */
    public static String URL_GET_NEW_MESSAGE = "/api/v1/getImRecord?userId=%s";
    /**
     * 获取IP_与集群id
     */
    public static String URL_GETSERVERINFOS = "/ap1/v1/task/getServerInfos";
}
